package com.jckj.core.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;

/**
 * 任务调试
 * @liuzhiyuan
 * @date 2018-01-04
 */
@Configuration
@EnableScheduling
public class TaskConfig{

    /**
     * 五分钟执行一次
     */
    @Scheduled(fixedDelay=1000*5)
    public void job(){

    }
}
